<template>
  <div>
      <el-dialog title="领导审批意见" :visible.sync="visible" width="30%" append-to-body>
        <el-table
            ref="tableRefs"
            style="width: 100%; margin-top: 20px"
            :data="optionsList"
            border
            v-loading="dataListLoading"
            
        >
            <el-table-column prop="ry_name" label="审批人"  header-align="center"align="center">
            </el-table-column>
            <el-table-column prop="message_" label="审批意见"  header-align="center"align="center">
            </el-table-column>
            <el-table-column prop="time_" label="审批时间" header-align="center"align="center">
            </el-table-column>
        </el-table>
        <span slot="footer" class="dialog-footer">
            <el-button @click="visible = false">关闭</el-button>
        </span>
    </el-dialog>
  </div>
</template>

<script>
import { getMessageByprocessid } from "@/api/jiangjin/jiangjinfpjjfpdjb";
export default {
    data(){
        return{
            visible:false,
            dataListLoading:false,
            optionsList:[]
        }
    },
    methods:{
        init(id){
            this.visible=true;
            getMessageByprocessid({id:id}).then(res=>{
                this.optionsList=res.data.data
            })
        },
    }
}
</script>

<style>

</style>